//
//  MyCell.m
//  Hand-held_kitchen
//
//  Created by 张张烨 on 16/1/22.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MyCell.h"

@implementation MyCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.view = [[UIView alloc]init];
        self.view.backgroundColor = [ UIColor whiteColor];
        [self.contentView addSubview:_view];
    }
    return self;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    _view.frame = CGRectMake(0, 0, 375 * KUAN, 50 * GAO);
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
